package com.rzcode.coinex.kernel.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.rzcode.coinex.kernel.common.enums.CommonStatusEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @author Bridge.Xu
 * @date 2020年02月27日
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "transfer_address")
public class TransferAddress {

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "币种")
    private Coin coin;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "转账手续费率")
    private BigDecimal transferFee=BigDecimal.ZERO;

    @ApiModelProperty(value = "最低转账数目")
    private BigDecimal minAmount=BigDecimal.ZERO;

    @ApiModelProperty(value = "")
    private CommonStatusEnum status=CommonStatusEnum.NORMAL;
}
